-- GENERATED SPELL FOR [Dire Wolf] --


function spell0_17854(pUnit, Event) --@Growl,n/a--
pUnit:FullCastSpellOnTarget(31334,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17854', 536, 1)
end

function Sorts_17854(pUnit, Event)
local choix_sorts_17854 = math.random(0, 0)
if choix_sorts_17854 == 0 then
pUnit:RegisterEvent('spell0_17854', 1, 1)
end
end

function mob17854_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17854', math.random(1500, 3000), 1)
end

function mob17854_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17854_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17854_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17854, 1, 'mob17854_Action')
RegisterUnitEvent(17854, 2, 'mob17854_Leave')
RegisterUnitEvent(17854, 3, 'mob17854_Kill')
RegisterUnitEvent(17854, 4, 'mob17854_Die')
